html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

.pear-container, .layui-container {
    width: 100% !important;
    max-width: none !important;
    min-height: 100%;
    padding: 20px !important;
    margin: 0 !important;
    box-sizing: border-box;
}

.pear-container {
    display: flex;
    flex-direction: column;
}

.ticket-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 0;
    margin: 0 auto;
    max-width: 1000px;
    box-sizing: border-box;
}

.layui-row {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.layui-col-md12 {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.ticket-form {
    background-color: #FFFFFF;
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    padding: 30px;
    margin-bottom: 30px;
}

.ticket-title {
    font-size: 28px;
    font-weight: 700;
    color: #30E1A7;
    margin-bottom: 20px;
    text-align: center;
}

.ticket-form .layui-form-label {
    font-weight: 600;
    color: #4a5568;
}

.ticket-form .layui-input,
.ticket-form .layui-textarea {
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    padding: 12px;
}

.ticket-form .layui-btn {
    background: linear-gradient(135deg, #4ADEDE 0%, #30E1A7 100%);
    color: #FFFFFF;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    transition: background 0.3s ease;
}

.ticket-form .layui-btn:hover {
    background: linear-gradient(135deg, #38bcb0 0%, #27ad8d 100%);
}

.submitted-content {
    background-color: #FFFFFF;
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    padding: 30px;
}

.submitted-title {
    font-size: 24px;
    font-weight: 700;
    color: #4a5568;
    margin-bottom: 20px;
}

.submitted-item {
    margin-bottom: 15px;
}

.submitted-item-label {
    font-weight: 600;
    color: #4a5568;
    margin-right: 10px;
}

.submitted-item-value {
    color: #718096;
}

/* Custom styles for the ticket details modal */
.ticket-details-container {
    padding: 20px;
    border-radius: 12px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    line-height: 1.7;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.detailTitle {
    font-size: 1.5em;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(52, 73, 94, 0.2);
    text-align: center; /* Center the title */
}

.detailItem {
    margin-bottom: 15px;
    display: flex;
    align-items: baseline;
    transition: all 0.3s ease;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid rgba(0,0,0,0.05);
}

.detailLabel {
    font-weight: 500;
    color: #555;
    margin-right: 20px;
    width: 120px;
    text-align: right;
    flex-shrink: 0;
}

.detailValue {
    color: #000;
    font-size: 1.1em;
    word-break: break-word;
}

/* Add a subtle hover effect to items */
.detailItem:hover {
    background: rgba(240, 240, 240, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 4px 6px rgba(0,0,0,0.07);
}

  /* Custom styles for the status */
.status-pending {
    color: #e6a23c; /* Orange */
}

.status-processing {
    color: #909399; /* Gray */
}

.status-completed {
    color: #67c23a; /* Green */
}

.status-rejected {
    color: #f56c6c; /* Red */
}